import request from '@/utils/request'

const BASE_URL = '/message/api/message_tag/'

export function Get(id, args) {
  return request({
    url: `${BASE_URL}${id || ''}${args && ('?' + args) || ''}`,
    method: 'get'
  })
}

export function Post(data) {
  return request({
    url: BASE_URL,
    method: 'post',
    data: data
  })
}

export function Delete(id) {
  return request({
    url: `${BASE_URL}${id || ''}`,
    method: 'delete'
  })
}
